package com.vil.mapper;

import com.vil.entity.Charge;
import com.vil.entity.ParkUse;
import com.vil.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ParkUseMapper {
    int deleteByPrimaryKey(Long id)throws  Exception;

    int insert(ParkUse record)throws  Exception;

    int insertSelective(ParkUse record)throws  Exception;

    ParkUse selectByPrimaryKey(Long id)throws  Exception;

    int updateByPrimaryKeySelective(ParkUse record)throws  Exception;

    int updateByPrimaryKey(ParkUse record)throws  Exception;
    List<ParkUse> getListByManyConditions(ParkUse recode)throws  Exception;
    //批量删除
    int deleteMany(Long[] array)throws  Exception;
}